package com.itheima.health.service;

import com.itheima.health.exception.MyException;
import com.itheima.health.pojo.OrderSetting;

import java.util.List;
import java.util.Map;

public interface OrderSettingService {

    /**
     * 添加预约设置
     * @param orderSettingList
     */
    void add(List<OrderSetting> orderSettingList) throws MyException;

    /**
     * 通过月份查询预约设置
     * @param mouth
     * @return
     */
    List<Map<String, Integer>> getDataByMonth(String mouth);

    /**
     * 基于日历的预约设置
     * @param orderSetting
     */
    void editNumberByDate(OrderSetting orderSetting) throws MyException;

}
